<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%>
<c:set var="path" value="..${ctx}/common/table"/>

<div class="pageHeader">
	<form method="post" action="" onsubmit="return dwzSearch(this, 'dialog');">
	<div class="searchBar">
		<div class="subBar">
			<ul>
				<li><div class="button"><div class="buttonContent">
				<button type="button" multLookup="orgId" warn="请选择部门">选择带回</button>
				</div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<table class="table" layoutH="118" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th width="30"><input type="checkbox" class="checkboxCtrl" group="orgId" /></th>
				<th orderfield="roleID">角色编号</th>
				<th orderfield="roleName">角色名称</th>
				<th orderfield="roleDescription">角色描述</th>
			</tr>
		</thead>
		<tbody>
			<c:if test="${! empty list }">
			<c:forEach var="data" items="${list}" varStatus="status">
			<tr>
				<td><input type="checkbox" name="orgId" value="{roleId:'${data.roleID}', roleName:'${data.roleName}'}"/></td>
				<td>${data.roleID}</td>
				<td>${data.roleName}</td>
				<td>${data.roleDescription}</td>
			</tr>
			</c:forEach>
			</c:if>
		</tbody>
	</table>
</div>
